/*=============任务详情===================*/
.color_blue {
  color: #3591ff;
}

.color_green {
  color: #8bc34a;
}
.taskdetail {
  min-height: 100%;
  background-color: white;
  .refresh-btn {
    float: right;
    z-index: 10;
    margin-right: 12px;
    margin-left: -66px;
  }
  .ant-tabs {
    padding: 0 20px;
  }
}

.taskdetail-header {
  padding: 10px;
  height: 50px;
  line-height: 30px;
  border-bottom: 1px solid #ededed;
}

.taskdetail-body {
  width: 100%;
  height: 140px;
}

.taskdetail-body-list {
  width: 75%;
  float: left;
  height: 140px;
  padding: 10px 20px 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.task-detail-item {
  width: 33%;
  min-width: 120px;
  color: #1f2934;
}

.taskdetail-item-label {
  display: inline-block;
  min-width: 75px;
  text-align: right;
  margin-right: 15px;
  color: #5e6871;
}

.taskdetail-body-graph {
  width: 25%;
  float: right;
  padding: 10px 20px 0 0;
  height: 120px;
}

.taskdetail-body-graph {
  display: flex;
  justify-content: space-around;
}

.taskdetail-body-graph-info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 12px;
  text-align: right;
}

.taskdetail .ant-tabs {
  overflow: visible;
}

/*
=================人工监听===================
*/
.manlisten {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  // 左侧-列表
  .manlisten-callrecord {
    width: 31%;
    height: 550px;
    overflow: auto;

    .manlisten-incall {
      color: #bfdf9a;
    }

    .manlisten-waitcall {
      margin-left: 15px;
      color: #f97373;
    }

    .manlisten-call-item {
      cursor: pointer;
      padding: 5px 8px;
      margin: 10px 5px 10px 5px;

      &.active {
        border: 1px solid #3591ff;
        background-color: white;
        .manlisten-callitem-callednum {
          font-size: 20px;
          font-weight: bold;
        }
        .manlisten-callitem-label {
          width: 80px;
          margin-right: 15px;
        }
        .detail {
          display: block;
          color: #5e6871;
          line-height: 28px;
        }
      }

      &.notactive {
        height: 40px;
        background-color: #f2f2f2;
        .manlisten-callitem-callednum {
          font-size: 18px;
        }
        .detail {
          display: none;
        }
        &:hover {
          background: #ddd;
        }
      }
    }
  }

  // 右侧-聊天对话窗
  .chat-wrapper {
    width: 68%;
    height: 550px;

    .manlisten-chat {
      float: left;
      margin: 0 1%;
      width: 48%;
      height: 100%;
      border: 1px solid gray;
      &.hide {
        display: none;
      }
      &.show {
        display: block;
      }
      &.active {
        border: #3591ff 2px solid;
      }
      .chat-body {
        // 人工监听，需要给头部预留空间
        height: calc(100% - 40px);
      }
    }
  }
}

/*
=================呼叫规则===================
*/
.call-rules {
  .ant-form-item-label {
    width: 115px;
  }
  .ant-form-item {
    margin-bottom: 10px;
  }
  .time-type {
    padding: 6px 0;
  }
  .checkbox-day-group {
    width: 540px;
  }
}
/*
=================呼叫结果===================
*/
.task-callresult-header {
  text-align: right;
}

.task-callresult-cellroom {
  padding-bottom: 20px;
  display: flex;
  flex-direction: row;
  // justify-content: space-between;
  flex-wrap: wrap;
  overflow: hidden;
}

.callresult-cell {
  position: relative;
  padding: 5px 0;
  width: 170px;
  margin: 10px 0;
  margin-right: 10px;
  text-align: center;
  &::before {
    content: "";
    position: absolute;
    top: 15%;
    left: -1px;
    width: 1px;
    height: 70%;
    border-left: 1px solid #d5d5d5;
  }
}

.callresult-cell-value {
  font-size: 22px;
  margin-right: 5px;
  color: #263238;
}

.callresult-cell-rate {
  font-size: 12px;
  color: #1f2934;
}
.callresult-cell-desc {
  padding-right: 32px;
  color: #5e6871;
  font-size: 14px;
}
/*
=================任务详情-通话记录===================
*/
.detail-callrecord-header {
  margin-bottom: 10px;
  .mgr-header-left {
    flex: 1;
  }
  .mgr-header-right {
    width: 232px;
    text-align: right;
  }
}

/*
=================通话分析===================
*/

.call-analysis-area {
  .operate-btn {
    float: right;
    margin-top: 12px;
  }
  // 图表公共
  .chart-tit {
    height: 58px;
    font-size: 18px;
    color: #333;
    line-height: 58px;
    text-align: center;
  }
  // 图表
  .chart-area {
    height: 320px;
  }

  // 无数据
  .chart-noData-bar {
    margin-top: 80px;
    padding-right: 54px;
  }

  // 无数据
  // .chart-noData-pie {
  // }
  // 饼图自定义-legend
  .custom-legend {
    position: absolute;
    top: 25%;
    li {
      margin-bottom: 12px;
      list-style: none;
      font-size: 14px;
      &:before {
        content: "";
        margin-right: 5px;
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
      }
      div {
        font-size: 40px;
      }
      &.level2 {
        color: #e05f42;
        &:before {
          background: #e05f42;
        }
      }
      &.level1 {
        color: #316dd9;
        &:before {
          background: #316dd9;
        }
      }
      &.level0 {
        color: #bfbfbf;
        &:before {
          background: #bfbfbf;
        }
      }
    }
  }
}

/*
=================重呼策略===================
*/
.task-callstrategy {
  .tit {
    margin: 5px 0 15px;
    span {
      color: #909090;
      font-weight: normal;
    }
  }
  .box {
    margin-bottom: 10px;
  }
}
